package com.example.dao;

import com.example.entity.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface UserDao {
    User getUserById(int id);

    List<User> getUsersByCondition(User user);

    User getUserWithRole(int id);
}